
var filters = document.querySelectorAll('.filter-line')
filters[1].onclick=function (e){
    var ele = e.target;
    console.log(ele)
    var ele_divs = filters[1].children;
    for (let i = 0; i < ele_divs.length; i++) {
        ele_divs[i].style.color = '#666';
        ele_divs[i].style.backgroundColor='#fff'
    }
    ele.style.color = '#0057ff'
    ele.style.backgroundColor = 'rgba(0,87,255,.05)'
}



let listItems = document.querySelectorAll('.list-item')
for (let i = 0;i<listItems.length;i++){
    listItems[i].onmouseover = function (){
       const childrens = listItems[i].children;
       childrens[3].style.display = 'block'
    }
    listItems[i].onmouseout = function (){
        let childrens = listItems[i].children;
        childrens[3].style.display = 'none'
    }
}







